package dict;

import static org.junit.Assert.*;

import java.io.File;

import org.junit.Test;

public class IndexLineCounterTest {

    @Test
    public void testCountLine() {
        File indexFile = new File(
                "D:/Workspace/@MainProjects/OU/MegaDict/Project/DictionaryModel/testset/fora/ev/dict.index");

        IndexLineCounter counter = new IndexLineCounter(indexFile);

        int countedLine = counter.countLine();

        assertEquals(387518, countedLine);
    }

}
